package studay.flyweight;

/**
 * @program: 设计模式
 * @description:
 * @author: Tom
 * @create: 2022-01-07 17:45
 **/
public class ConcreateWebSite extends CloudWebSite{

    private String category;

    public ConcreateWebSite(String category){
        this.category = category;
    }
    @Override
    public void run(Company company) {

        System.out.println("网站分类："+category+"公司:"+company.getName());
    }
}
